home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Overshadow 6
/
Overshadow_06_1997-08_Angels.d64
/
w.borders _os6
< prev
next >
Wrap
Text File
|
2023-02-26
|
3KB
|
184 lines
*= 2061
r = $48
d = $d016
jmp start
;---------------------------------------
ic sei
jsr $fd15
jsr $fda3
jsr $e518
cli
rts
id sta $0314
stx $0315
sty $d012
rts
ie inc $d019
sei
jsr id
cli
jmp $ea81
timer nop
nop
ldx #$ff
ldy #0
stx $dc00
sty $dc02
stx $dc03
stx $dc01
sty $dc01
stx $dc01
.byte $ea,$ea,$ea,$ea,$ea
lda $d013
stx $dc02
sty $dc03
stx $dc01
ldx #$7f
stx $dc00
lsr a
lsr a
lsr a
sta tm1+1
bcc tm1-1
clv
tm1 bvc tm2
tm2 .byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea
rts
;---------------------------------------
start jsr ic
ldx #0
stx 2043
inx
stx 2044
inx
stx 2045
inx
stx 2046
lda #$f0
sta $d006
lda #$08
sta $d008
lda #$50
sta $d00a
lda #$68
sta $d00c
lda #$49
sta $d007
sta $d009
sta $d00b
sta $d00d
lda #%01101000
sta $d010
lda #1
sta $d02a
sta $d02b
sta $d02c
sta $d02d
lda #%01111000
sta $d015
sei
ldx #0
stx $dc0e
inx
stx $d01a
lda #<i1
ldx #>i1
ldy #r
jsr id
lda #$1b
sta $d011
cli
jmp out
;---------------------------------------
;---------------------------------------
i1 .byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea
.byte $ea
lda #0
ldx #8
tay
jsr e0
jsr e2
jsr e1
jsr e1
jsr e1
jsr e1
jsr e1
jsr e1
jsr e2
jmp i1o
e0 .byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea,$ea
bit d
bit d
rts
e1 .byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea,$ea
sta d
stx d
rts
e2 .byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea
.byte $ea,$ea,$ea,$ea,$ea,$ea
sta d
stx d
sta d,y
stx d
rts
i1o lda #<i2
ldx #>i2
ldy #$fa
jmp ie
;---------------------------------------
i2 lda #$13
sta $d011
lda #<i3
ldx #>i3
ldy #$32
jmp ie
;---------------------------------------
i3 lda #$1b
sta $d011
jsr timer
lda #<i1
ldx #>i1
ldy #r
jmp ie
;---------------------------------------
;---------------------------------------
out jmp out